﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminMasterPage.master"
    AutoEventWireup="true" CodeFile="Sys002.aspx.cs" Inherits="Admin_Sys_Sys002" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 100%; min-width: 700px">
        <div style="padding-right: 12px">
            <table width="100%" cellspacing="0" cellpadding="0" class="AddTable">
                <tr>
                    <td width="80px">
                        系统名称
                    </td>
                    <td>
                        <yncWebDDL:DrpSystemTypes ID="drpSystem" ShowSelectedItem="false" AutoPostBack="true" runat="server">
                        </yncWebDDL:DrpSystemTypes>
                    </td>
                    <td width="60px" align="center">
                        <%=GetAddLink("Sys002a.aspx?" + TSSystemMetadata.ColumnNames.SystemId+"="+drpSystem.SelectedValue, null, 480, 370)%>
                    </td>
                </tr>
            </table>
        </div>
        <yncWeb:PagnationGrid PageSize="30" ID="pageGrid" runat="server" OnOnPageIndexChange="PageChanged">
            <HeaderTemplate>
                <table width="100%" cellspacing="0" cellpadding="0" class="pagnationtable">
                    <thead>
                        <tr>
                            <th width="40px">
                                序号
                            </th>
                            <th width="140px">
                                频道代码
                            </th>
                            <th>
                                频道名称
                            </th>
                            <th width="60px">序号</th>
                            <th width="60px" class="center">
                                状态
                            </th>
                            <th width="60px" class="center">
                                修改
                            </th>
                            <th width="60px" class="center">
                                删除
                            </th>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%# Container.ItemIndex +1 %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSFunctionsMetadata.ColumnNames.FunctionCode)%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSFunctionsMetadata.ColumnNames.FunctionName)%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSFunctionsMetadata.ColumnNames.Sequence)%>
                    </td>
                    <td class="center">
                        <%# GetActiveStatus(DataBinder.Eval(Container.DataItem, TSFunctionsMetadata.ColumnNames.IsActive))%>
                    </td>
                    <td class="center action">
                        <%# GetUpdateLink("Sys002a.aspx", Container.DataItem, 480, 370, TSFunctionsMetadata.ColumnNames.FunctionID)%>
                    </td>
                    <td class="center action">
                        <%# GetDeleteLink("Sys002a.aspx", Container.DataItem, TSFunctionsMetadata.ColumnNames.FunctionID)%>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr class="odd">
                     <td>
                        <%# Container.ItemIndex +1 %>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSFunctionsMetadata.ColumnNames.FunctionCode)%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSFunctionsMetadata.ColumnNames.FunctionName)%>
                    </td>
                    <td>
                        <%# DataBinder.Eval(Container.DataItem,TSFunctionsMetadata.ColumnNames.Sequence)%>
                    </td>
                    <td class="center">
                        <%# GetActiveStatus(DataBinder.Eval(Container.DataItem, TSFunctionsMetadata.ColumnNames.IsActive))%>
                    </td>
                    <td class="center action">
                        <%# GetUpdateLink("Sys002a.aspx", Container.DataItem, 480, 370, TSFunctionsMetadata.ColumnNames.FunctionID)%>
                    </td>
                    <td class="center action">
                        <%# GetDeleteLink("Sys002a.aspx", Container.DataItem, TSFunctionsMetadata.ColumnNames.FunctionID)%>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
                </tbody> </table>
            </FooterTemplate>
        </yncWeb:PagnationGrid>
    </div>
</asp:Content>
